package pojo;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

import org.apache.log4j.Logger;
import org.springframework.stereotype.Repository;

@Repository
public class User implements Serializable {
	
	static Logger logger = Logger.getLogger(User.class.getName());
	private static final long serialVersionUID = -2467881508327492981L;
	
	private Integer userID = -1;
	private String name;
	private String mobileNum;
	private String userName;
	private String firstName;
	private String lastName;
	private String rfidNum;
	private String webName;
	private String newWebName;
	private String webPwd;
	private String newWebPwd;
	private String devPwd;
	private String newDevPwd;
	private String sex;
	private String mailAddr;
	private String credit;
	private String helpedSaveChk;
	private String getCode;
	private int getParcelNum;
	private String isChecked;
	private String alipayNumber;
	private String serNum;  // card
	private String expBranchIds;
	private Double longitude;
	private Double latitude;
	private BigDecimal balance;
	
	private String userPlatformRole;
	private String userPlatformId;
	private Integer couPositiveNum;
	private Integer couNegativeNum;
	private Integer couComplaints;
	private Integer norUpositiveNum;
	private Integer norUnegativeNum;
	private Integer norUcomplaints;
	private long lnglatTime;
	private String icon;
	private byte[] icons;
	private List<Integer> orderIds;
	private String status;
	
	/**
	 * time:2015-02-28
	 */
	private String expCompanyID;
	private String expBranchID;
	private String idCard;
	private String addr;
	
	public String getAddr() {
		return addr;
	}
	public void setAddr(String addr) {
		this.addr = addr;
	}
	public String getIdCard() {
		return idCard;
	}
	public void setIdCard(String idCard) {
		this.idCard = idCard;
	}
	public String getExpCompanyID() {
		return expCompanyID;
	}
	public void setExpCompanyID(String expCompanyID) {
		this.expCompanyID = expCompanyID;
	}
	public String getExpBranchID() {
		return expBranchID;
	}
	public void setExpBranchID(String expBranchID) {
		this.expBranchID = expBranchID;
	}
	public Integer getUserID() {
		return userID;
	}
	public void setUserID(Integer userID) {
		this.userID = userID;
	}
	
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	
	public String getFirstName() {
		return firstName;
	}
	public void setFirstName(String firstName) {
		this.firstName = firstName;
	}
	public String getLastName() {
		return lastName;
	}
	
	public void setLastName(String lastName) {
		this.lastName = lastName;
	}
	public String getMobileNum() {
		return mobileNum;
	}
	
	public void setMobileNum(String mobileNum) {
		this.mobileNum = mobileNum;
	}
	
	public String getRfidNum() {
		return rfidNum;
	}
	public void setRfidNum(String rfidNum) {
		this.rfidNum = rfidNum;
	}
	
	public String getWebName() {
		return webName;
	}
	public void setWebName(String webName) {
		this.webName = webName;
	}
	
	public String getNewWebName() {
		return newWebName;
	}
	public void setNewWebName(String newWebName) {
		this.newWebName = newWebName;
	}
	
	public String getWebPwd() {
		return webPwd;
	}
	public void setWebPwd(String webPwd) {
		this.webPwd = webPwd;
	}
	
	public String getNewWebPwd() {
		return newWebPwd;
	}
	public void setNewWebPwd(String newWebPwd) {
		this.newWebPwd = newWebPwd;
	}
	public String getDevPwd() {
		return devPwd;
	}
	public void setDevPwd(String devPwd) {
		this.devPwd = devPwd;
	}
	
	public String getNewDevPwd() {
		return newDevPwd;
	}
	public void setNewDevPwd(String newDevPwd) {
		this.newDevPwd = newDevPwd;
	}
	
	public String getSex() {
		return sex;
	}
	public void setSex(String sex) {
		this.sex = sex;
	}
	
	public String getMailAddr() {
		return mailAddr;
	}
	
	public void setMailAddr(String mailAddr) {
		this.mailAddr = mailAddr;
	}
	
	public String getCredit() {
		return credit;
	}
	public void setCredit(String credit) {
		this.credit = credit;
	}
	
	public String getHelpedSaveChk() {
		return helpedSaveChk;
	}
	public void setHelpedSaveChk(String helpedSaveChk) {
		this.helpedSaveChk = helpedSaveChk;
	}
	
	public void setGetCode(String getCode) {
		this.getCode = getCode;
	}
	
	public int getGetParcelNum() {
		return getParcelNum;
	}
	public void setGetParcelNum(int getParcelNum) {
		this.getParcelNum = getParcelNum;
	}
	
	public String getIsChecked() {
		return isChecked;
	}
	public void setIsChecked(String isChecked) {
		this.isChecked = isChecked;
	}
	
	public String getAlipayNumber() {
		return alipayNumber;
	}
	public void setAlipayNumber(String alipayNumber) {
		this.alipayNumber = alipayNumber;
	}
	
	public String getSerNum() {
		return serNum;
	}
	public void setSerNum(String serNum) {
		this.serNum = serNum;
	}
	
	public String getExpBranchIds() {
		return expBranchIds;
	}
	public void setExpBranchIds(String expBranchIds) {
		this.expBranchIds = expBranchIds;
	}
	
	public Double getLongitude() {
		return longitude;
	}
	public void setLongitude(Double longitude) {
		this.longitude = longitude;
	}
	
	public Double getLatitude() {
		return latitude;
	}
	public void setLatitude(Double latitude) {
		this.latitude = latitude;
	}
	
	public Integer getCouPositiveNum() {
		return couPositiveNum;
	}
	public void setCouPositiveNum(Integer couPositiveNum) {
		this.couPositiveNum = couPositiveNum;
	}
	
	public Integer getCouNegativeNum() {
		return couNegativeNum;
	}
	public void setCouNegativeNum(Integer couNegativeNum) {
		this.couNegativeNum = couNegativeNum;
	}
	
	public Integer getCouComplaints() {
		return couComplaints;
	}
	public void setCouComplaints(Integer couComplaints) {
		this.couComplaints = couComplaints;
	}
	public Integer getNorUpositiveNum() {
		return norUpositiveNum;
	}
	public void setNorUpositiveNum(Integer norUpositiveNum) {
		this.norUpositiveNum = norUpositiveNum;
	}
	public Integer getNorUnegativeNum() {
		return norUnegativeNum;
	}
	public void setNorUnegativeNum(Integer norUnegativeNum) {
		this.norUnegativeNum = norUnegativeNum;
	}
	public Integer getNorUcomplaints() {
		return norUcomplaints;
	}
	public void setNorUcomplaints(Integer norUcomplaints) {
		this.norUcomplaints = norUcomplaints;
	}
	public long getLnglatTime() {
		return lnglatTime;
	}
	public void setLnglatTime(long lnglatTime) {
		this.lnglatTime = lnglatTime;
	}
	
	public BigDecimal getBalance() {
		return balance;
	}
	public void setBalance(BigDecimal balance) {
		this.balance = balance;
	}
	
	public String getUserPlatformRole() {
		return userPlatformRole;
	}
	public void setUserPlatformRole(String userPlatformRole) {
		this.userPlatformRole = userPlatformRole;
	}
	
	public String getUserPlatformId() {
		return userPlatformId;
	}
	public void setUserPlatformId(String userPlatformId) {
		this.userPlatformId = userPlatformId;
	}
	
	public String getIcon() {
		return icon;
	}
	public void setIcon(String icon) {
		this.icon = icon;
	}
	
	public byte[] getIcons() {
		return icons;
	}
	public void setIcons(byte[] icons) {
		this.icons = icons;
	}
	
	public List<Integer> getOrderIds() {
		return orderIds;
	}
	public void setOrderIds(List<Integer> orderIds) {
		this.orderIds = orderIds;
	}
	
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
	
	public void print() {
		logger.info("userID_" + userID);
		logger.info("name_" + name);
		logger.info("userPlatformRole_" + userPlatformRole);
		logger.info("userPlatformId_" + userPlatformId);
		logger.info("couPositiveNum_" + couPositiveNum);
		logger.info("couNegativeNum_" + couNegativeNum);
		logger.info("couComplaints_" + couComplaints);
		logger.info("norUpositiveNum_" + norUpositiveNum);
		logger.info("norUnegativeNum_" + norUnegativeNum);
		logger.info("norUcomplaints_" + norUcomplaints);
	}
	
}